<!--登录弹出框开始-->
		<div class="am-modal am-modal-no-btn" tabindex="-1" id="login">
			<div class="am-modal-dialog">
			    <div class="am-modal-bd login_bg">
			        <form id="myform" class="am-form" action="__APP__/user/login" method="post">
			        	<div class="am-form-group form_margin">
			        		<input name="user" id="user" type="text" class="am-form-field form_input" placeholder="邮箱"/>
			        	</div>
			        	<div class="am-form-group form_margin">
			        		<input name="pas" id="pas" type="password" class="am-form-field form_input" placeholder="密码"/>
							<input type="hidden" name="pass" id="pass"/>
			        	</div>
<!-- 			        	<div class="am-form-group form_margin content">
				        	<label class="login_check">
				          		<input type="checkbox" name="keeplogin" /> &nbsp;&nbsp;保持登录状态
				        	</label>
					        <a href="forgotPassword.html" class="forget_btn">忘记密码？</a>
						</div> -->
						<div class="am-form-group form_margin">
			        		<input type="submit" class="am-form-field btn_login" value="登录"/>
			        	</div>
			        	<div class="am-form-group form_margin">
			        		<input type="button" class="am-form-field btn_register" value="注册账号" onclick="window.location.href='__APP__/user/reg';"/>
			        	</div>
			        </form>
			    </div>
			</div>
		</div>
		<!--登录弹出框结束-->
<!--头部导航开始-->
		<div class="content rolls">
			<div class="am-topbar">
				<div class="am-container">
					<h1 class="am-topbar-brand am-u-sm-2">
					    <a href="__INDEX__">
					    	<img src="__PUBLIC__/assets/i/logo.png" class="logo"/>
					    </a>
					</h1>
					<button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#doc-topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>
					<div class="am-collapse am-topbar-collapse topbar" id="doc-topbar-collapse" style="float: right;">
						<ul class="am-nav am-nav-pills am-topbar-nav">
							<li><a class="" href="__APP__/forum">电影</a></li>
							<li><a href="#">电视剧</a></li>
							<li><a href="solution_CloudServices.html">动画</a></li>
							<li><a href="technicalSupport.html">1080P</a></li>
							<li><a href="#">720P</a></li>
							<!--<li><a href="#">论坛</a></li>-->
							<i id="navslip"></i>
						</ul>
						<ul class="index_login">
						 <!--if:{empty($_SESSION['uuser']['uid'])}-->
							<li><a href="javascript:;" class="loginbtn" data-am-modal="{target: '#login'}">登录</a></li>
							<li style="border-right: none;"><a href="__APP__/user/reg" class="loginbtn">注册</a></li>
							<li id="phone_en" style="border: none; display: none;"><a href="javascript:;"><img src="__PUBLIC__/assets/i/icon_en.png" /></a></li>
						<!--{else}-->
						    <li style="color: #a4aac2;"><a href="__APP__/index/personal_center"  class="loginbtn" style="color: #a4aac2;"><?php echo $_SESSION['uuser']['nickname'];?></a></li>
                            <li style="border-right: none;"><a href="__APP__/user/logout" class="loginbtn">退出</a></li>
                         <!--{/if}-->
						</ul>	
					</div>
				</div>
			</div>
			<script type="text/ecmascript" src="__PUBLIC__/assets/js/sha1.js"></script>
			<script>
				$(function(){
					$("form").submit(function() {
						var sha = hex_sha1($("#pas").val());
						$("#pass").val(sha);
						$("#pas").attr("disabled", "true");
						return true;
					});
				});
			</script>
			
		</div>
		<!--头部导航结束-->